package com.VancouverTongue.Interceptor;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;

public class HeadingInterceptor extends HandlerInterceptorAdapter {
	
	//before the actual handler will be executed
		public boolean preHandle(HttpServletRequest request, 
			HttpServletResponse response, Object handler)
		    throws Exception {
	 
			HttpSession session = request.getSession();
	 
			return true;
		}

}
